<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  
 </body>
</html>
<script>
	//函数参数作用域
	function fn(a, b, c){
		//函数参数也是一个局部变量，仅仅作用于函数内部
		console.log(a, b, c);
		function haha(){
			console.log('这是哈哈' + a);
		};
		haha();
	};

	fn(3, 4, 5);
	//console.log(a, b, c); //不能调用
</script>
